public class NameFormatException extends RuntimeException{
    /*
    * 命名规则
    * NameFormat 异常名字
    * Exception 异常类
    *
    * 运行时异常继承RuntimeException
    * 编译时异常继承Exception
    * */

    public NameFormatException() {
    }

    public NameFormatException(String message) {
        super(message);
    }
}
